package com.example.botany_api.bean;

/**
 * @Author 漫画忧作
 * @Date 2022/11/2 23:54
 * @Version 1.0
 */
public class Meaty {
    private int id;
    private String name;
    private String summary;
    private String content;
    private int type_id;
    private String time;
    private int views;
    private int collect;
    private String img;
    private String address;
    private String lng;
    private String lat;

    public Meaty() {
    }

    @Override
    public String toString() {
        return "Meaty{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", summary='" + summary + '\'' +
                ", content='" + content + '\'' +
                ", type_id=" + type_id +
                ", time='" + time + '\'' +
                ", views=" + views +
                ", collect=" + collect +
                ", img='" + img + '\'' +
                ", address='" + address + '\'' +
                ", lng='" + lng + '\'' +
                ", lat='" + lat + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType_id() {
        return type_id;
    }

    public void setType_id(int type_id) {
        this.type_id = type_id;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getViews() {
        return views;
    }

    public void setViews(int views) {
        this.views = views;
    }

    public int getCollect() {
        return collect;
    }

    public void setCollect(int collect) {
        this.collect = collect;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public Meaty(String name, String summary, String content, int type_id, String time, int views, int collect, String img, String address, String lng, String lat) {
        this.name = name;
        this.summary = summary;
        this.content = content;
        this.type_id = type_id;
        this.time = time;
        this.views = views;
        this.collect = collect;
        this.img = img;
        this.address = address;
        this.lng = lng;
        this.lat = lat;
    }

    public Meaty(int id, String name, String summary, String content, int type_id, String time, int views, int collect, String img, String address, String lng, String lat) {
        this.id = id;
        this.name = name;
        this.summary = summary;
        this.content = content;
        this.type_id = type_id;
        this.time = time;
        this.views = views;
        this.collect = collect;
        this.img = img;
        this.address = address;
        this.lng = lng;
        this.lat = lat;
    }
}
